@mixin nosel {
  background: #00aeff;
}
// 未选中的颜色
$noselColor: #00aeff;
// 未选中时的边框颜色
$noselBgc: #3b8bff;
//  选中时的颜色
$selectedColor: #00e1e4;
// table的颜色
$tableColor: #00e3e4;
@font-face {
  font-family: "digital-7";
  src: url("/static/font/digital-7.ttf");
  font-weight: 700;
  font-style: normal;
}
html {
  font-size: 0.66667vw;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
body {
  background: url(../images/body-bg@2x.png) no-repeat center center;
  background-size: cover;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  font-family: "Microsoft YaHei";
}
.box {
  border-radius: 4px;
  background-color: rgba(20, 48, 128, 0.2);
}
.border-top-linear {
  border-top: 2px solid #000 !important;
  border-image: linear-gradient(
      to right,
      rgba(5, 142, 184, 0.2),
      rgba(2, 231, 243, 0.8),
      rgba(2, 143, 181, 0.1)
    )
    1;
}
.border-top-linear-transparent {
  border-top: 2px solid #000 !important;
  border-image: linear-gradient(to right, rgba(2, 231, 243, 0.8), transparent) 1;
}
.border-bottom-linear-transparent {
  border-bottom: 2px solid #000 !important;
  border-image: linear-gradient(to right, rgba(2, 231, 243, 0.8), transparent) 1;
}
.border-bottom-linear {
  border-bottom: 2px solid #000 !important;
  border-image: linear-gradient(
      to right,
      rgba(5, 142, 184, 0.2),
      rgba(2, 231, 243, 0.8),
      rgba(2, 143, 181, 0.1)
    )
    1;
}
.border-color {
  border-radius: 4px !important;
  border-left: 2px solid rgba(2, 159, 192, 0.1);
  border-right: 2px solid rgba(2, 159, 192, 0.1);
}
.flex {
  display: flex;
  align-items: center;
}

.column-flex {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-between;
}
.sp-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.row-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.font-red {
  color: #ff3535;
}
.font-blue {
  color: #00d2ef;
}
.font-grey {
  color: #bfd9ff;
}
.bold-blue {
  color: rgb(0, 225, 228);
  font-weight: 700;
  font-size: 1.5rem;
}
// 轮播表样式调整
.header {
  color: #3e94fe;
  font-size: 1.1rem !important;
}
.row-item .ceil {
  font-size: 1.1rem;
}
// 省略
.omit {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
// 整体样式
.index_main {
  padding: 1.25rem;
  display: flex;
  color: rgba($color: #fff, $alpha: 0.8);
  justify-content: space-between;
  flex: 1;
  background: url(../images/body-bg@2x.png) no-repeat center center;
  background-size: cover;
  // 左侧
  .main_left {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  // 中间
  .main_center {
    margin: 0 1.875rem;
    width: 49%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  // 右侧
  .main_right {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  // 顶部
  .module-top {
    width: 100%;
    height: 49%;
    border-radius: 4px;
    // border: 1px solid rgba(59, 139, 255, 0.4);
    background-color: rgba(20, 48, 128, 0.2);
    padding: 1.25rem;
  }
  // 标题
  h1.left-title {
    padding: .9375rem 1.875rem .9375rem 1.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size :1.375rem;
    height: 3.75rem;
    margin-bottom: 0.6rem;
    font-weight: bold;
    background: url(../images/title-bg1@2x.png) no-repeat;
    background-size: 100% 100%;
  }
  // 下部分
  .module-bottom {
    width: 100%;
    height: 49%;

    border-radius: 4px;
    // border: 1px solid rgba(59, 139, 255, 0.4);
    background-color: rgba(20, 48, 128, 0.2);
  }
}

.row-item {
  line-height: 36px !important;
  height: 36px !important;
}
i.box {
  font-style: normal;
  display: inline-block;
  height: 20px;
  padding: 0 6px;
  margin-right: 5px;
  border-radius: 10px;

  &.normal {
    border: 1px solid #3b8bff;
    background: rgba(59, 139, 255, 0.2);
  }
  &.risk {
    border: 1px solid #00e1e4;
    background: rgba(0, 225, 228, 0.2);
  }
  &.serious {
    border: 1px solid #facc29;
    background: rgba(250, 204, 41, 0.2);
  }
  &.danger {
    border: 1px solid #ff3535;
    background: rgba(255, 53, 53, 0.2);
  }
}
.box-radius {
  display: inline-block;
  padding: 0.3px 1.2rem;
  border-radius: 2rem;
  background: rgba(219, 7, 32, 0.2);
}
.box-red {
  border: 1px solid #db0720;
  color: #db0720;
}
.box-blue {
  border: 1px solid #00e1e4;
  color: #00e1e4;
  background: rgba(0, 225, 228, 0.2);
}
//#3b8afe
.box-common {
  border: 1px solid #3b8afe;
  color: #3b8afe;
  background: rgba(59, 138, 254, 0.2);
}
.box-orange {
  border: 1px solid #ff6727;
  color: #ff6727;
}
.box-yellow {
  color: #e6b712;
  border: 1px solid #e6b712;
  background: rgba(230, 183, 18, 0.2);
}
@keyframes move {
  0% {
  }
  100% {
    transform: translateY(-100%);
  }
}

#app,
#app ~ .el-dialog__wrapper,
#app ~ .el-message-box__wrapper,
#app ~ .el-popper {
  // 加载时遮罩层样式
  .el-loading-mask {
    background: #061540;
  }
  // 去掉下拉框的尖尖
  .el-popper[x-placement^="bottom"] .popper__arrow {
    display: none;
  }
  // 下拉框格式
  .el-popper[x-placement^="bottom"] {
    margin-top: 5px !important;
  }
  .el-select-dropdown {
    background-color: #081641 !important;
    border: 1px solid rgba($color: #00e3e4, $alpha: 0.4) !important;
    .el-select-dropdown__item.hover,
    .el-select-dropdown__item:hover {
      background-color: rgba($color: #3b8bff, $alpha: 0.2);
    }
    .el-select-dropdown__item {
      color: rgba($color: #fff, $alpha: 0.8);
    }
    .el-select-dropdown__item.selected {
      color: #00e3e4;
    }
  }
  .el-select {
    font-size: 0.875rem;
    .el-input {
      .el-input__inner {
        color: #00e1e4;
      }
    }
  }
  // 输入框样式
  .el-input {
    font-size: 0.875rem;
    color: rgba($color: #fff, $alpha: 0.8);
    .el-input__inner {
      font-size: 0.875rem;
      background: transparent;
      border: 1px solid rgba(0, 225, 228, 0.4);
      border-radius: 4px;
    }
    &.is-focus {
      .el-input__inner {
        border-color: #00e1e4 !important;
      }
    }
  }
  .el-table--border .el-table__cell {
    border-right: none;
  }
  // 表格样式
  .el-table {
    margin-top: 20px;
    color: rgba($color: #fff, $alpha: 0.8);
    background-color: transparent;

    .el-table--border::after,
    .el-table--group::after,
    &::before {
      display: none;
    }
    .el-table__fixed::before,
    .el-table__fixed-right::before {
      display: none;
    }
    .el-table__fixed,
    .el-table__fixed-right {
      box-shadow: none !important;
    }
    .el-table__fixed-right-patch {
      width: 0;
    }
    // 颜色设置透明色
    .el-table__expanded-cell {
      background: transparent;
    }
    th.el-table__cell {
      background: transparent;
    }
    // 头部
    thead.has-gutter {
      background: rgba($color: $noselBgc, $alpha: 0.2) !important;
      & > tr > th {
        border-bottom: 1px solid $noselBgc !important;
        background: rgba($color: $noselBgc, $alpha: 0.2) !important;
      }
    }
    .el-table__expand-icon {
      color: #fff;
    }

    // 去掉边框线和底色
    th,
    tr {
      background-color: transparent;
    }
    // 表头样式
    .el-table__header-wrapper th {
      color: rgba($color: #fff, $alpha: 0.8);
    }
    // 表格体样式
    .el-table__body tr.el-table__row--striped td.el-table__cell {
      background: rgba($color: $noselBgc, $alpha: 0.1);
    }
    .el-table__body tr.el-table__row td.is-center {
      background: rgba($color: #081641, $alpha: 1) !important;
    }

    // 固定的行的样式
    .el-table__header-wrapper th,
    .el-table__fixed-header-wrapper th {
      color: rgba($color: #fff, $alpha: 0.8);
      background: transparent !important;
    }

    .el-table__fixed-right::before,
    .el-table__fixed::before {
      display: none;
    }
    // 每行的下边框样式
    td.el-table__cell {
      border-bottom: 1px solid rgba($color: $noselBgc, $alpha: 0.4);
      // 去掉最下面的线
      &.el-table__expanded-cell {
        border-bottom: none;
      }
    }
    // 去掉hover背景色
    tbody tr:hover > td {
      background-color: rgba($color: $noselBgc, $alpha: 0.1) !important;
      border: 1px solid $tableColor !important;
      border-left: none !important;
      border-right: none !important;
      &.el-table__cell {
        padding: 10px 0;
      }
      &:first-of-type {
        border-left: 1px solid $tableColor !important;
      }
      &:last-of-type {
        border-right: 1px solid $tableColor !important;
      }
    }
    // 如果td没有颜色，可以去掉，这里加上保险
    .el-table__body tr.hover-row > td {
      background-color: rgba($color: $noselBgc, $alpha: 0.1);
    }
    // 固定列的样式
    .el-table__fixed,
    .el-table__fixed-right {
      background: transparent;

      th.el-table__cell.is-leaf {
        border-bottom: 1px solid $noselBgc;
        background: rgba($color: $noselBgc, $alpha: 0.3) !important;
      }
    }
    .el-table__fixed-header-wrapper {
      background: rgba($color: #152a62, $alpha: 1);
    }
  }

  .el-select-dropdown__item.hover,
  .el-dropdown-menu__item:hover,
  .el-select-dropdown__item.is-disabled:hover {
    background-color: rgba($color: $noselColor, $alpha: 0.2);
  }
  .el-select-dropdown__item,
  .el-dropdown-menu__item {
    color: rgba($color: #fff, $alpha: 0.8);
  }
  .el-select-dropdown__item.selected,
  .el-dropdown-menu__item.selected {
    color: $selectedColor;
  }
  .popper__arrow {
    border-top-color: rgba(0, 227, 228, 0.4) !important;
 
  }
  .popper__arrow::after {
    border-top-color: #081641;
    border-bottom-color: #081641;
  
  }
 
  .el-dropdown-menu__item--divided {
    border: none;
    &:before {
      display: none;
    }
  }
  // 级联选择器样式
  .el-cascader-menu {
    color: #fff;
    border-color: rgba($color: $selectedColor, $alpha: 0.4);
    .el-cascader-node:not(.is-disabled):hover {
      background: rgba($color: $selectedColor, $alpha: 0.4);
    }
    .el-cascader-node.in-active-path,
    .el-cascader-node.is-active,
    .el-cascader-node.is-selectable.in-checked-path {
      color: $selectedColor;
      background: transparent;
    }
  }
  // 通用的边框样式
  .el-input__inner {
    background: transparent;
    border: 1px solid rgba($color: $selectedColor, $alpha: 0.4);
    border-radius: 4px;
    color: #617898;
    &:hover {
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.4) !important;
    }
  }
  // 范围选择器样式
  .el-range-editor.is-active {
    border: 1px solid rgba($color: $selectedColor, $alpha: 0.4) !important;
  }
  .el-date-editor .el-range-input {
    color: $selectedColor;
  }

  // 时间选择器样式
  .el-picker-panel {
    color: #fff;
  }

  // 滚动条样式
  /* 整个滚动条 */
  ::-webkit-scrollbar {
    /* 对应纵向滚动条的宽度 */
    width: 5px;
    /* 对应横向滚动条的宽度 */
    height: 5px;
  }

  /* 滚动条上的滚动滑块 */
  ::-webkit-scrollbar-thumb {
    background-color: #102471;
    border-radius: 32px;
  }

  /* 滚动条轨道 */
  ::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 32px;
  }
  // 去掉小方块
  ::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
  }

  // 分页器样式
  .el-pagination {
    display: flex;
    align-items: center;
    color: rgba($color: #fff, $alpha: 0.8);
    // 总计的样式
    .el-pagination__total {
      color: #fff;
    }
    // 跳转的样式
    .el-pagination__jump {
      color: #fff;
    }
    // 分页器的前后样式
    .btn-next,
    .btn-prev {
      background: rgba($color: $noselBgc, $alpha: 0.2);
      border: 1px solid $noselBgc;
    }
    // 分页器的选中按钮的样式
    &.is-background .el-pager li:not(.disabled).active {
      background: rgba($color: $selectedColor, $alpha: 0.4) !important;
      border: 1px solid $selectedColor !important;
    }
    // 分页器按钮样式
    .el-pager li {
      background: rgba($color: $noselBgc, $alpha: 0.2);
      border: 1px solid rgba($color: $noselBgc, $alpha: 0.6);
      color: rgba($color: #fff, $alpha: 0.8);
    }
  }
  // 搜索框样式
  .el-input__inner {
    background: transparent;
    border: 1px solid rgba($color: $selectedColor, $alpha: 0.4);
    border-radius: 4px;
    color: #fff;
    &:hover {
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.4) !important;
    }
  }

  // 进度条样式修改
  .el-progress-bar__outer {
    background-color: #1a2da0 !important;
    border-radius: 0px !important;
  }
  .el-progress-bar__inner {
    border-radius: 0px !important;
  }
  .dv-scroll-board {
    color: rgba($color: #fff, $alpha: 0.8) !important;
  }

  // 复选框样式
  .el-checkbox {
    .el-checkbox__inner {
      background: #152a62;
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.6);
      border-radius: 2px;
    }
    &.is-checked {
      .el-checkbox__inner {
        background: rgba($color: $selectedColor, $alpha: 0.4);
        border: 1px solid $selectedColor;
        color: $selectedColor;
      }
    }
    .el-checkbox__input {
      &.is-checked + .el-checkbox__label {
        color: $selectedColor;
      }
    }
    .el-checkbox__label {
      color: #bfd9ff;
      font-size: 0.875rem;
    }
  }
  // tab选项卡样式
  .el-tabs__item {
    color: #fff;
  }
  .el-tabs--border-card,
  .el-tabs--border-card > .el-tabs__header {
    background: transparent !important;
    border-left: none !important;
  }
  .el-tabs__nav-wrap::after {
    background: rgba($color: $noselBgc, $alpha: 0.4) !important;
  }
  .el-tabs__item.is-active {
    color: $selectedColor !important;
  }
  .el-tabs__active-bar {
    background: rgba($color: $selectedColor, $alpha: 0.4) !important ;
  }
  .el-tabs--left .el-tabs__item.is-left {
    background: rgba($color: $noselBgc, $alpha: 0.4) !important;
  }
  // 单选框
  .el-radio,
  .el-radio-group {
    color: #3e94fe;
    .el-radio__input.is-checked .el-radio__inner,
    .el-radio__inner,
    .el-range-editor--medium,
    .el-range-editor--medium .el-range-input {
      background: transparent;
    }
    .el-radio__input.is-checked .el-radio__inner {
      border-color: $selectedColor;
    }
    .el-radio__input.is-checked + .el-radio__label {
      color: $selectedColor;
    }
    .el-radio__inner {
      border: 1px solid $noselColor;
    }
    .el-radio-button__inner {
      background: rgba($color: #3b8bff, $alpha: 0.2);
      border: 1px solid rgba(59, 139, 255, 0.2);
      color: #3e94fe;
    }
    .el-radio-button__orig-radio:checked + .el-radio-button__inner {
      background: rgba(0, 225, 228, 0.2);
      border: 1px solid rgba(0, 225, 228, 0.6) !important;
      color: #00e1e4;
    }
    .el-radio-button__inner {
      border-color: transparent;
      border-radius: 4px;
    }
    .el-radio-button:first-child .el-radio-button__inner {
      border-left: none;
    }
    .el-radio-button__orig-radio:checked + .el-radio-button__inner {
      box-shadow: none;
    }
  }

  .el-popover.el-popper {
    background: #081641;
    border: 1px solid rgba(0, 227, 228, 0.4);
    color: #fff;
    font-size: 0.75rem;
    box-shadow: 0px 4px 12px 0px rgba(0, 225, 228, 0.2);
  }
  // 表单样式
  .el-form {
    margin-top: 20px;
  }
  .el-form--inline,
  .el-form-item__label {
    color: #fff;
  }

  .el-textarea {
    input:hover {
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.4) !important;
    }
    .el-textarea__inner {
      background: transparent;
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.4);
      border-radius: 4px;
      color: #617898;
    }
  }
  // 修改button颜色
  button.el-button.el-button--primary {
    color: #ffffff !important;
    background: rgba($color: $selectedColor, $alpha: 0.4) !important;
    border: 1px solid $selectedColor !important;
    &.is-disabled {
      background: rgba($color: #a9c9ff, $alpha: 0.5) !important;
    }
  }
  button.el-button.el-button--default {
    color: #ffffff !important;
    background: rgba($color: $noselBgc, $alpha: 0.4) !important;
    border: 1px solid rgba($color: $noselBgc, $alpha: 1) !important;
    &.active {
      background: rgba(0, 225, 228, 0.2) !important;
      border: 1px solid rgba(0, 225, 228, 0.6) !important;
      border-radius: 2px !important;
      color: #00e1e4 !important;
    }
  }
  .el-button--text {
    color: $noselColor;
    border: none !important;
    background: transparent !important;
    &.is-disabled {
      color: #c0c4cc;
    }
  }
  // 输入框样式
  .el-input {
    input:hover {
      border: 1px solid rgba($color: $selectedColor, $alpha: 0.4) !important;
    }

    &.is-focus {
      .el-input__inner {
        border-color: $selectedColor !important;
      }
    }
  }
  // 加减器按钮
  .el-input-number__increase,
  .el-input-number__decrease {
    background: transparent;
    border-color: rgba($color: $selectedColor, $alpha: 0.5);
    color: #fff;
  }
  // 下拉框选中的样式
  .el-select .el-input .el-input__inner {
    color: $selectedColor;
  }
  // 树形选择器样式
  .vue-treeselect__control {
    background: transparent;

    border-color: $selectedColor;
    .vue-treeselect__single-value {
      color: #fff;
    }
  }
}
.el-popper[x-placement^=left] .popper__arrow::after{
  border-left-color:rgba(0, 227, 228, 0.4) !important;
 
  right: -7px !important;
}
#app ~.el-popper[x-placement^=left] .popper__arrow{
    border-left-color:#081641 !important;
    border-top-color: transparent !important;
    right: 0px !important;
  
}
#app ~ .el-popper {
  background: #081641;
  border: 1px solid rgba($color: $selectedColor, $alpha: 0.4);

  color: #fff;
}
// 选择器下部分
#app ~ .el-picker-panel {
  color: #fff;
  .el-date-picker__header {
    .el-picker-panel__icon-btn,
    .el-date-picker__header-label {
      color: #fff;
    }
  }
  .el-date-table {
    th {
      color: #fff;
      border-color: rgba($color: $noselBgc, $alpha: 0.4);
    }
    td.in-range div {
      background-color: rgba($color: $selectedColor, $alpha: 0.6);
    }
    td.start-date span,
    td.end-date span,
    td.current:not(.disabled) span {
      background: $selectedColor;
    }
    td.next-month,
    td.prev-month {
      color: #617898;
    }
  }
}

// 级联选择器样式
.el-cascader-menu {
  color: #fff;
  border-color: rgba($color: $selectedColor, $alpha: 0.4);
  .el-cascader-node:not(.is-disabled):hover {
    background: rgba($color: $selectedColor, $alpha: 0.4);
  }
  .el-cascader-node.in-active-path,
  .el-cascader-node.is-active,
  .el-cascader-node.is-selectable.in-checked-path {
    color: $selectedColor;
    background: transparent;
  }
}

// dialog对话框
.dia-style {
  .el-dialog {
    margin-top: 5vh !important;
    border-radius: 4px !important;
    display: flex;
    flex-direction: column;
    .el-dialog__header {
      padding: 0 20px;
      height: 5rem;
      line-height: 5rem;
      font-size: 20px;
      color: #fff;
      background-color: #0f285f;

      border-bottom: none;
      position: relative;
    }

    .el-dialog__body {
      // max-height: 540px;
      padding: 20px;
      overflow: auto;
    }

    .el-dialog__footer {
      width: 100%;
      padding: 12px;
      border-top: 1px solid #e8e8e8;
      text-align: right;
    }
  }
  .el-dialog {
    background: #081641;
    .el-dialog__header {
      .el-dialog__title {
        color: #fff;
      }
    }
    .el-dialog__body {
      color: #fff;
    }
    .el-dialog__footer {
      border-top: 1px solid #183470;
      background-color: #0f285f;
    }
  }
  .el-form {
    .el-form--inline,
    .el-form-item__label {
      color: #fff;
      display: block;
      text-align: left;
    }
  }
}
input {
  background: transparent !important;
}
.el-date-editor .el-range-separator {
  color: #fff !important;
}

.el-range-editor--small .el-range-separator {
  width: 30px !important;
}
.el-divider{
  background-color:rgba(59,139,255,0.40) !important;
}
.el-divider--horizontal{
  margin: 1.25rem 0  !important;
}